import { createPinia } from 'pinia'

// 样式还原
import 'normalize.css/normalize.css'

import EventBus from './EventBus'

export default {
  install: (app) => {
    // do something here

    // 挂载全局变量
    //  类型判断
    app.config.globalProperties.$TY = TY
    // 事件总线
    app.config.globalProperties.$EventBus = EventBus

    app.use(createPinia())
  }
}
